package com.deer.wms.busine.tactic.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.deer.wms.busine.tactic.dao.WaveTacticMapper;
import com.deer.wms.busine.tactic.model.Wave.WaveTactic;
import com.deer.wms.busine.tactic.model.Wave.WaveTacticCriteria;
import com.deer.wms.busine.tactic.model.Wave.WaveTacticDto;
import com.deer.wms.busine.tactic.service.WaveTacticService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by ll on 2020/02/03.
 */
@Service
@Transactional
public class WaveTacticServiceImpl extends ServiceImpl<WaveTacticMapper, WaveTactic> implements WaveTacticService {

    @Autowired
    private WaveTacticMapper waveTacticMapper;

    @Override
    public List<WaveTacticDto> findList(WaveTacticCriteria criteria) {
        return waveTacticMapper.findList(criteria);
    }
}
